<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>


	<div class="container-fluid">
		<div class="modal-header">
			<button type="button" class="close" data-ng-click="Model.cancel()"
				data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</button>
			<h5>{{Model.title}}</h5>
		</div>
		<div class="modal-body">

		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-12 col-content">
				
					<ul class="nav nav-tabs">
					  <li role="presentation" 
					  	ng-repeat="row in dataMaster.rows"
					  	ng-class="dataMaster.currentIndex==dataMaster.rows.indexOf(row) ? ' active':''" 
					  	ng-click="dataMaster.onRowClick(row,$event);Model.groupRowClick({'rowIndex':dataMaster.rows.indexOf(row),'rowID':row.fID.value})"
					  	
					  	><a href="" ng-click="Model.tabClick('ZCKM')">{{row.regionName.value}}</a>
					  </li>
					</ul>	

				</div>
			</div>

			<div class="row">

				<div class="col-sm-12 col-content">

				<div>
					<div tree-view 
						tree-data="dataTree" 
						checkbox-show="false"
						text-field="regionName" 
						value-field='fID' 
						parent-field='fParent'
						level-field='nodeLevel' 
						kind-field='nodeKind' 
						sub-height='350'
						>
					</div>
				</div>
					<h4> 
					<span class="label label-success">
					{{dataTree.rows[dataTree.currentIndex].regionFullName.value}}
					</span>
					</h4>
				</div>

			</div>


		</div>
			

		</div>
		<div class="modal-footer">
			<button class="btn btn-primary" 
				data-ng-disabled="dataTree.rows[dataTree.currentIndex].nodeKind.value==''"
				data-ng-click="Model.ok()">确定</button>
			<button class="btn btn-warning" data-ng-click="Model.cancel()">取消</button>
		</div>

	</div>


</body>
</html>